package com.mdz.nc.Service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mdz.nc.Entity.SysNc;
import com.mdz.nc.Mapper.SysNcMapper;
import com.mdz.nc.Service.SysNcService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 孟德志
 * @since 2020-04-03
 */
@Service
public class SysNcServiceImpl extends ServiceImpl<SysNcMapper, SysNc> implements SysNcService {

    @Autowired
    private SysNcMapper sysNcMapper;
    @Override
    public List<SysNc> getUserListPage(SysNc sysNc) {
        return sysNcMapper.getUserListPage(sysNc);
    }

    @Override
    public int insertsysNC(SysNc sysNc) {
        return sysNcMapper.insertsysNC(sysNc);
    }

    @Override
    public SysNc selectbyid(String id) {
        return sysNcMapper.selectbyid(id);
    }

    @Override
    public List<SysNc> getsysnc(SysNc sysNc) {
        return sysNcMapper.getsysnc(sysNc);
    }
}
